package edu.iyte.ceng431.hw2.pos.model;

public class CreditCard extends Payment {

	private String cardId;

	public CreditCard(double amount, String cardNumber) {
		super(amount);
		cardId = cardNumber;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getCardId() {
		return cardId;
	}

}
